<?php

namespace app\admin\controller;


class TestController
{
    public function index()
    {
        echo 'test3';
    }

    public function test()
    {
        $phone = input('phone');
        $paramsArray = array(
            'phone' => $phone,
        );
        $params = http_build_query($paramsArray);
        $content = apicurl('http://58.87.84.76:8091/index/index/inquirePhone', $params);
        $content = json_decode($content,true);
        echo $content['data'];
        // return $content;
    }

}
